//line1 must be note.
//for designer use firefox go to look the world!

clearPref("browser.startup.homepage"); 
clearPref("startup.homepage_welcome_url") ;
clearPref("browser.startup.homepage_reset") ;

//http://www.duba.com/?un_369374_197568          //9e9y
//http://www.hao123.com/?tn=98417951_hao_pg      //7654 2016.5.12
defaultPref("browser.startup.homepage", "http://hao.7654.com/?chno=7654dh_102187");
defaultPref("startup.homepage_welcome_url", "http://hao.7654.com/?chno=7654dh_102187") ;
defaultPref("browser.startup.homepage_reset", "http://hao.7654.com/?chno=7654dh_102187") ;

pref("browser.startup.homepage", "http://hao.7654.com/?chno=7654dh_102187");
pref("startup.homepage_welcome_url", "http://hao.7654.com/?chno=7654dh_102187") ;
pref("browser.startup.homepage_reset", "http://hao.7654.com/?chno=7654dh_102187") ;

lockPref("browser.startup.homepage", "http://hao.7654.com/?chno=7654dh_102187");
lockPref("startup.homepage_welcome_url", "http://hao.7654.com/?chno=7654dh_102187") ;
lockPref("browser.startup.homepage_reset", "http://hao.7654.com/?chno=7654dh_102187") ;

displayError(funcname, message); //format error imformation